package day04;

public class ContinueDemo {
    public static void main(String[] args) {
        //输出9的乘法表 跳过能被三整除的
        for (int num = 1; num <= 9; num++) {
            if (num % 3 == 0) {
                continue;//跳过循环中剩余的语句进入下一次循环
            }
            System.out.println(num + "*9=" + (num * 9));
        }
       /*...*/
        //输出9的乘法表 只要不能被3整除的
        for (int num = 1; num <= 9; num++) {
            if (num % 3 != 0) {
                System.out.println(num + "*9=" + num * 9);
            }
        }
    }

}